package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminSupplementContractDetail;
import com.ygqh.baby.po.AdminSupplementContractDetailExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminSupplementContractDetailMapper {
    int countByExample(AdminSupplementContractDetailExample example);

    int deleteByExample(AdminSupplementContractDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminSupplementContractDetail record);

    int insertSelective(AdminSupplementContractDetail record);

    List<AdminSupplementContractDetail> selectByExample(AdminSupplementContractDetailExample example);

    AdminSupplementContractDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminSupplementContractDetail record, @Param("example") AdminSupplementContractDetailExample example);

    int updateByExample(@Param("record") AdminSupplementContractDetail record, @Param("example") AdminSupplementContractDetailExample example);

    int updateByPrimaryKeySelective(AdminSupplementContractDetail record);

    int updateByPrimaryKey(AdminSupplementContractDetail record);
    
    int countSuper(@Param ("q") String q);
    
    List<AdminSupplementContractDetail> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);

    int saveBatch(@Param("details") List<AdminSupplementContractDetail> details);
}



